package org.his.service.impl;

import org.his.entity.Login;
import org.his.mapper.LoginMapper;
import org.his.service.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LoginServiceImpl implements LoginService{
	@Autowired
	private LoginMapper loginMapper;
	
	
	public Login queryLoginInfoByusername(String username) {
		return loginMapper.queryLoginInfoByusername(username);
		
	}


	public Login queryLoginInfo(Login user) {
		
		return loginMapper.queryLoginInfo(user);
	}
	
}
